<include file="Public/header"/>

<div class="x-nav">
      <span class="layui-breadcrumb">

      </span>
      <a class="layui-btn layui-btn-small" style="line-height:1.6em;margin-top:3px;float:right" href="javascript:location.replace(location.href);" title="刷新">
        <i class="layui-icon" style="line-height:30px">ဂ</i></a>
    </div>
    <div class="x-body">
      <div class="layui-row">
        <form class="layui-form layui-col-md12 x-so" action="{:U('')}" method="get">

          <input type="text" value="{:I('out_trade_no')}" name="out_trade_no"  placeholder="核销订单号" autocomplete="off" class="layui-input">
          <input type="text" value="{:I('uid')}" name="uid"  placeholder="核销人uid" autocomplete="off" class="layui-input">
          <button class="layui-btn"   type="submit" ><i class="layui-icon">&#xe615;</i></button>
          <button class="layui-btn"   type="reset" >清空</button>
        </form>
      </div>
      <xblock>
        <button class="layui-btn layui-bg-red" onclick="delAll('','{:U('del')}')"><i class="layui-icon"></i>永久删除</button>
        <span class="x-right" style="line-height:40px">共有数据：{$count} 条</span>
      </xblock>
      <table class="layui-table">
        <thead>
          <tr>
            <th>
              <div class="layui-unselect header layui-form-checkbox" lay-skin="primary"><i class="layui-icon">&#xe605;</i></div>
            </th>
            <th>ID</th>
            <th>核销人真实姓名</th>
            <th>手机号</th>
            <th>头像|昵称</th>
            <th>核销订单号</th>
            <th>核销时间</th>
            </tr>
        </thead>
        <tbody>
        <volist name="list" id="vo">
          <tr>
            <td>
              <div class="layui-unselect layui-form-checkbox" lay-skin="primary" data-id={$vo['id']}><i class="layui-icon">&#xe605;</i></div>
            </td>
            <td>{$vo['id']}</td>
            <td>{$vo['name']}</td>
            <td>{$vo['mobile']}</td>
            <td><img src="{$vo['acv']}" style="width: 40px">|{$vo["nickname"]}</td>
            <td>{$vo["out_trade_no"]}</td>
            <td>{$vo['addtime']|date='Y-m-d H:i:s',###}</td>
          </tr>
        </volist>


        </tbody>
      </table>
      <div class="page" id="page">
        {$page}
      </div>

    </div>

<include file="Public/footer"/>

